// https://min.erkantv.cn:443/han/hanJuji

import {
	request
} from "@/utils/request.js";


// 页面带小图的轮播图
export function swiperimgsBanner(pageNum, pageSize) {
	return request({
		url: '/collection/orderLast',
		data: {
			pageNum: pageNum,
			pageSize: pageSize,
			type: 0,
			order: '',
			yesVideo: true
		}
	});

}

// 页面带查询已收藏内容
export function userCollent(userId, videoId) {
	return request({
		url: '/collectionCllect/all',
		data: {
			userId: userId,
			videoId: videoId
		}
	});

}

// 进行收藏
export function insertCollent(userId, videoId) {
	return request({
		url: '/collectionCllect/insert',
		data: {
			userId: userId,
			videoId: videoId
		}
	});

}